﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace ShanjinPDAUI.ModelEntity
{
    /// <summary>
    /// 任务表
    /// </summary>
    [Table(" Tasks")]
    public class TaskEntity
    {
        public int id { get; set; }
        /// <summary>
        /// 绑定任务
        /// </summary>
        public string TaskId { get; set; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public int TaskType_TaskType { get; set; }
        /// <summary>
        /// 站点
        /// </summary>
        public int Station { get; set; }

        /// <summary>
        /// 前置站点
        /// </summary>
        public int PreStation { get; set; }

        /// <summary>
        /// 后置站点
        /// </summary>
        public int BackStation { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        public int MacTaskState { get; set; }
        /// <summary>
        /// 判定的AGVID
        /// </summary>
        public int AGVID { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public int Devid { get; set; }
        /// <summary>
        /// 区域类型
        /// </summary>
        public int AreaType { get; set; }
        /// <summary>
        /// 地图类型
        /// </summary>
        public int MapType { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public int MaterialName { get; set; }

        public int FullBakeState { get; set; }

        public int Level { get; set; }
        /// <summary>
        /// 前置站点执行高度
        /// </summary>
        public float FrontHeight { get; set; }
        /// <summary>
        /// 目标站点执行高度
        /// </summary>
        public float Height { get; set; }
        /// <summary>
        /// 后置站点执行高度
        /// </summary>
        public float BackHeight { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
        /// <summary>
        /// 执行时间
        /// </summary>
        public string ImplementTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string FinishTime { get; set; }

        public string Remark { get; set; }
        public int TagerFlow { get; set; }
        public int ManipulatorId { get; set; }

        public int OvenId { get; set; }

        public int OvenPostion { get; set; }
        public int HYHeight { get; set; }

        public int BackHYHeight { get; set; }

        public int ForntHYHeight { get; set; }
        public int HYWidth { get; set; }

        public string Lot { get; set; }

        public string Code { get; set; }
        public int CacheID { get; set; }
        public int RgvId { get; set; }
        /// <summary>
        /// 料卷类型
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 拆包间ID
        /// </summary>
        public int SourId { get; set; }

        /// <summary>
        /// 立库编号
        /// </summary>

        public int SourPostion { get; set; }

        /// <summary>
        /// 上层任务号
        /// </summary>
        public string TASK_NO { get; set; }

        public bool IsUpdate { get; set; }

        public bool IsLKUpdate { get; set; }

        public string DIRECTION { get; set; }


        public string TASK_Diam { get; set; }

        public string TASK_Diam_SIZE { get; set; }

        public string TASK_WIDTH { get; set; }

        public string TASK_SIZE { get; set; }

        public string LKStation { get; set; }

        public string INPUNT_POSITION { get; set; }

        public int ToPostion { get; set; }
    }
}
